PPlace

Places the contents of the loaded place icon on the page, at the specified location.

The commands that load the place icon are PImport, PCreateIndex, PCreateTOC, and PPlaceNext.


Command constructor

PPlace(long x1, long y1);
long x1;
x-axis location where the text icon is clicked in twips
long y1;
y-axis location where the text icon is clicked in twips
For external files, use PImport command first. To place an external file, precede the PPlace command with the PImport command.

For existing stories, use PPlaceNext command. To place a portion of an existing story, select the text block, load the place icon using the PPlaceNext command, and then use the PPlace command to place the text on the page.

Drag-placing. The PPlace command works like the click-place technique. The coordinates indicate where the loaded text icon should be clicked. If the coordinates are within a column, the text block spans the column. To imitate drag-placing, use the PPlaceSized command (or resize the text block after placing it, using the PResize command).

Layout view only. Use the PPlace command only in layout view.

Examples. Assuming the rulers' zero point is at the top-left corner of the page, the following example places the file "building.gif"2 inches from the left of the page and 4 inches from the top side.

PImport("artfolder:building.gif");
PGetConvertStr x("2i");
PPlace(x, 2 * x);


See also

Adobe PageMaker 6.5 Help > Commands > File > Place


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support